package com.springboot2.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.beans.factory.annotation.Value;

import java.util.Date;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("goods_category")
public class GoodsCategory {
    private Integer id;
    private String title;
    private String image;
    private Boolean isEnable;
    private Date createTime;
    private Integer isDel;
    @TableField(exist = false)
    private List<Goods> children;

}
